﻿using Microsoft.EntityFrameworkCore;
using TraceabilityApp_Domain;

namespace TraceabilityApp_Infrastructure
{
    public class MyDbContext : DbContext
    {
        private readonly DbContextOptions options;

        public MyDbContext(DbContextOptions options) : base(options)
        {
            this.options = options;
        }
        public DbSet<BreedModel> Breeds { get; set; }
        public DbSet<CityModel> City { get; set; }
        public DbSet<CompanyModel> Company { get; set; }
        public DbSet<CountyModel> County { get; set; }
        public DbSet<DeepProcessingModel> DeepProcessing {  get; set; }
        public DbSet<EnterpriseModel> Enterprise {  get; set; }
        public DbSet<FirmModel> Firm { get; set; }
        public DbSet<GoodsModel> Goods { get; set; }
        public DbSet<HealthcareModel> Healthcare {  get; set; }
        public DbSet<ProvinceModel> Provinces { get; set; }
        public DbSet<SlaughterModel> Slaughter {  get; set; }
        public DbSet<SupplierModel> Supplier { get; set; }
        public DbSet<TraceabilityModel> Traceability {  get; set; }
    }
}
